package cn.gene.timeyan.pojo.search.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 分享帖子*
 *
 * @author LWG
 * @date 2022/7/21 14:53
 * @since 1.0.0@gene.cn
 */
@Data
@Document(indexName = "timeyan_share_index")
@ApiModel(value="对应搜索的文档entity")
public class ShareEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /*分享表（用户对帖子转发）user_share*/
    /**
     * 记录id
     */
    @Id
    @ApiModelProperty(value="share id")
    private Long Id;

   /* private Long userId;
    private Long articleId;
    private Long moduleId;
    private LocalDateTime shareTime;
    private String platform;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;*/
}
